package com.tyqx.hashchainbean.vo;

import com.alibaba.fastjson.annotation.JSONField;
import org.springframework.web.multipart.MultipartFile;

import java.io.FileInputStream;
import java.io.InputStream;
import java.io.Serializable;
import java.util.Date;

public class JZTAttachmentBusinessTest implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    private String userName;

    public byte[] attachment;

    private String businessOrderNumber;

    private String hashValue;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;


    private String rootHashValue;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public byte[] getAttachment() {
        return attachment;
    }

    public void setAttachment(byte[] attachment) {
        this.attachment = attachment;
    }

    public String getBusinessOrderNumber() {
        return businessOrderNumber;
    }

    public void setBusinessOrderNumber(String businessOrderNumber) {
        this.businessOrderNumber = businessOrderNumber;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getHashValue() {
        return hashValue;
    }

    public void setHashValue(String hashValue) {
        this.hashValue = hashValue;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getRootHashValue() {
        return rootHashValue;
    }

    public void setRootHashValue(String rootHashValue) {
        this.rootHashValue = rootHashValue;
    }
}
